from django.urls import path

from apps.users import views
from apps.users.views import UsernameCountView, MobileCountView

urlpatterns = [
    # 判断用户名是否重复
    path('usernames/<username:username>/count/', UsernameCountView.as_view()),
    path('mobiles/<mobiles:mobile>/count/', MobileCountView.as_view()),
    path('register/', views.RegisterView.as_view()),
]
